<?php
	class UserModel extends CI_Model
	{
		public $email = '';
		public $password = '';
		public $regIP = '';
		public $LastLoginIP = '';
		public $regTime = 0;
		public $LastLoginTime = 0;

		public function __construct()
		{
			parent::__construct();
		}

		public function getUser($id)
		{
			$mysql = new SaeMysql();
			$sql = "SELECT * FROM `user` WHERE id= " . $id;
			$data = $mysql->getLine($sql);
			return $data;
		}
	}
?>